<div class="notice <?php echo isset($type)?$type:'success'; ?>" onclick ="$(this).slideUp()" >
    <p>
        <?php echo $message; ?>
    </p>
    
</div>